handle 0-height empty/invisible lines.
authorHavoc Pennington <hp@pobox.com>
Tue, 24 Apr 2001 12:24:35 +0000 (12:24 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Tue, 24 Apr 2001 12:24:35 +0000 (12:24 +0000)
commitb84d2f1234b6a6c1fd42cab2541b563f2ad66615
tree44407326be6f5dc11512800930a0164b7f09f411
parent60051ff6700171c384257134952110a3db0643e9
handle 0-height empty/invisible lines.

2001-04-21  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
empty/invisible lines.

* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
(gtk_text_iter_set_visible_line_index): new functions to set
indexes excluding invisible text

* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
index

* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
(gtk_text_iter_get_visible_line_offset): new functions to
get indexes excluding invisible text

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
bunch of extra padding that served no purpose

* gtk/gtkdialog.c: Make all the spacings configurable via style
properties, for chubbiness configuration in themes

* tests/testtext.c: fix path to the immodules.
16 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/gtk/tmpl/gtkrc.sgml
gtk/gtkdialog.c
gtk/gtkmessagedialog.c
gtk/gtktextbuffer.h
gtk/gtktextdisplay.c
gtk/gtktextiter.c
gtk/gtktextiter.h
gtk/gtktextlayout.c
tests/testtext.c